package com.bwie.controller;

import com.bwie.service.BrandService;
import com.bwie.utils.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: TaoShiHao
 * @Date: 2025/5/27 15:59
 * @Description:
 **/
@RestController
@RequestMapping("/shop/brand")
@Api(tags = "品牌管理")
public class BrandController {

    @Autowired
    BrandService brandService;
    @PostMapping("/getBrandListAll")
    @ApiOperation(value = "获取所有品牌列表")
    public Result getBrandListAll(){
       return brandService.getBrandListAll();

    }

}
